\documentclass{article}
\usepackage[paperwidth=20cm, paperheight=20cm, top=0.5cm, left=0.5cm]{geometry}
\usepackage{amsmath}
\usepackage{algorithm}
\usepackage{algorithmic}
\pagenumbering{gobble}
\begin{document}
\begin{algorithm}
    \caption{
        {{{name}}}
    }
    \begin{algorithmic}[1]
        {{{code}}}
    \end{algorithmic}
\end{algorithm}
\end{document}
